#pragma once
#include "mp2_types.h"
#include "definitions.h"
#include <pthread.h>

using namespace mp2;

class NodeApp {
	public:
		NodeApp(nodeOptions argOp);

	private:
		int bits;

		NodeInfo thisnode;

		pthread_t server_thread;
		pthread_t stabilize_thread;
		pthread_t fix_thread;
};